MailPoet\Services\AuthorizedEmailsController S

Total Complexity 44
Dependencies 10
Dependents 12
Total lines 209
Lines of code 138
Logical lines of code 88
Comment lines 11
Methods 13
Properties 5

Methods 13

Method Rating Maintainability Complexity Lines of code
createAuthorizedEmailAddress()
S
56 7 18
setFromEmailAddress()
S
54 6 19
onNewsletterSenderAddressUpdate()
S
62 6 11
validateAddressesInScheduledAndAutomaticEmails()
S
54 5 22
checkAuthorizedEmailAddresses()
S
56 4 19
updateMailerLog()
S
66 4 9
onSettingsSave()
S
65 3 8
validateAddressesInSettings()
S
64 3 10
isEmailAddressAuthorized()
S
75 2 4
__construct()
S
71 1 6
getAllAuthorizedEmailAddress()
S
80 1 3
validateAuthorizedEmail()
S
74 1 4
validateEmailDomainIsVerified()
S
72 1 5